/*
 * Copyright (C) 2015 The Gravitee team (http://gravitee.io)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
@use 'sass:map';
@use '@angular/material/index' as mat;
@use '@gravitee/ui-particles-angular/index' as gio;
@use '../../../scss/gio-layout' as gio-layout;

$textColor: map.get(gio.$mat-dove-palette, default);

:host {
  @include gio-layout.gio-responsive-content-container;
  display: flex;
  flex-direction: column;
}

.title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;

  h1 {
    margin-bottom: 0;
  }
}

.client-registration-providers {
  &__card {
    margin-bottom: 24px;

    &__add-btn {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }

    &__subtitle {
      display: block;
      padding: 12px 0;
    }

    &__type {
      margin: 16px 0;
      &__toggle {
        display: flex;
        align-items: center;
      }
    }

    &__table {
      width: 100%;

      .mat-column-actions {
        width: 0%;

        .actions {
          display: flex;
          justify-content: flex-end;
        }
      }
    }
  }
}
